package com.bot.adms.service;

import com.bot.adms.model.bo.ApplyInfoBo;
import com.bot.adms.model.vo.ApplyInfoVo;

import java.util.List;

/**
 * 投放申请模块业务层接口
 * 包含：
 *查询投放申请
 *
 * 功能
 * @author xihao
 */
public interface IApplyService {
    /**
     * 添加投放申请
     * @param applyInfoBo 投放申请信息，包含 ：申请人姓名 ，联系电话等等
     * @return 是否成功
     */
    public Boolean addApply(ApplyInfoBo applyInfoBo);

    public Boolean deleteApply(Long applyId);

    public ApplyInfoVo getApply(Long applyId);

    public List<ApplyInfoVo> getApplyList(ApplyInfoBo applyInfoBo);

    public ApplyInfoVo previewApply(Long applyId);

    public Boolean submitApply(Long applyId, Integer status);

    public Boolean checkApply(Long applyId, Integer status);

    public Boolean updateApply(ApplyInfoBo applyInfoBo);
}
